package com.msb.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sunpeng
 * @Date 2021-07-14 8:29
 */
@RestController
public class HelloController {

    @GetMapping("hello")
    public String hello(){
        System.out.println("hello");
        return "hello";
    }

    @GetMapping("hi")
    public String hi(){
        System.out.println("hi");
        return "hi";
    }

}
